| Predefined variables take the following values: |
| ${NAME} |
|
Method name in CamelCase style without the "set" prefix with the first character capitalized. For example, a property name '_my_property' is
converted to 'MyProperty'.
|
| ${CLASS_NAME} |
|
Name of a containing class. |
| ${SCALAR_TYPE_HINT} |
|
Contains a scalar type hint if the language level is PHP 7.0 or higher |
| ${RETURN_TYPE} |
|
Indicates if the language level is PHP 7.0 or higher and thus a return type can be specified for function/methods |
| ${FIELD_NAME} |
|
Original property name as is. |
| ${PARAM_NAME} |
|
Parameter name for a setter. Almost the same as ${FIELD_NAME}
but with the first underscore (if any) removed. For example, property name '_myProperty' will be converted to
'myProperty'. |
| ${TYPE_HINT} |
|
Type hint for the property or an empty string if not specified. |
|
${DS}
|
|
Dollar sign, evaluates to a plain '$' character. |